package com.daykw.douyin.utils;

public class Const {

	public static String Node;

	public static final String FAIL = "fail";

	public static final String SUC = "suc";

	public static final String FAIL_404 = "404";

	public static final String FAIL_500 = "500";

	public static final String AD_TOKEN = "ad123456";

	public static boolean SEARCH_VIDEO = false;

	public static boolean SEARCH_AUTH = false;
	
	public static boolean SEARCH_ZB = false;

	public static boolean DOWN_INFO = false;

	public static boolean DOWN_UID= false;

	public static boolean DOWN_CMT = false;

	public static boolean DOWN_AUTH = false;
	
	public static boolean DOWN_EXT = false;
	
	public static boolean LOGIN= false;
	public static void stopFirefox() {
		try {
			// 关闭程序和脚本
			Runtime runtime = Runtime.getRuntime();

			runtime.exec("taskkill /f /im firefox.exe");
			runtime.exec("taskkill /f /im firefox.exe*32");
			runtime.exec("taskkill /f /im geckodriver32.exe");
			runtime.exec("taskkill /f /im geckodriver64.exe");
			runtime.exec("taskkill /f /im chromedriver.exe*32");
			runtime.exec("taskkill /f /im chromedriver.exe");
			Thread.sleep(2000);
		} catch (Exception e) {

		}
	}
}
